<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <script defer src="js/defer1.js"></script>
    <script defer src="js/defer2.js"></script> -->
    <script async src="js/defer1.js"></script>
    <script async src="js/defer2.js"></script>
    <link rel="preload" href="index.js" as="script">
</head>
<body>
    <script>
        function say(){
            console.log(`<\/script>`);
        }
        window.onload = function(e){
            console.log('打印***onload',e)
        }
        // let script = document.createElement('script')
        // script.src = 'js/dynamic.js'
        // script.async = false
        // document.head.appendChild(script)
    </script>
    <script src="js/a"></script>
    <script src="js/b.js"></script>
</body>

</html>